<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <base href="<%=basePath%>"/>
    <title>添加角色</title>
	<meta http-equiv="pragma" content="no-cache"/>
	<meta http-equiv="cache-control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>    
  <link rel="stylesheet" href="css/addRoles.css" type="text/css"></link>
  <script type="text/javascript" src="javaScript/jquery-1.7.js"></script>
  <script type="text/javascript" src="javaScript/addRoles.js" ></script>
  </head>
  
  <body>
  		<div id="all">
  		<form action="addRoles" method="post" onsubmit="return checkNull()">
  			<table>
  				<tr class="title">
  					<td colspan="2"  class="title_01">
  							<img src="images/main_28.gif"/>
  							新建角色
  					</td>
  				</tr>
  				<tr>
  					<td>角色名称：</td>
  					<td>
  						<input type="text" name="roles.roleName" size="30" id="rolesName"/>
  						<div id="error"></div>
  					</td>
  				</tr>
  			</table>
  			<div id="button">
  			<input type="submit" value="添加角色" />
  			<input type="button" value="关闭" onclick="javascript:window.close()"/>
  			</div>
  			</form>
  		</div>
  </body>
</html>
